package com.qfedu.fmmall.controller;

import com.qfedu.fmmall.utils.Base64Utils;
import com.qfedu.fmmall.vo.ResStatus;
import com.qfedu.fmmall.vo.ResultVO;
import io.jsonwebtoken.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/shopcart")
@CrossOrigin
@Api(value = "提供购物车相关业务接口", tags = "购物车管理")
public class ShopcartController {
    @ApiOperation("购物车列表查询功能")
    @ApiImplicitParam(dataType = "String", name = "token", value = "授权令牌", required = true)
    @GetMapping("/list")
    public ResultVO listCarts() {
    return  new ResultVO(ResStatus.OK.getCode(), "success",null);
    }
}
